home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextFieldGetSelectionPosition.z / XmTextFieldGetSelectionPosition
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiiUUUUttttNNNNiiiiIIIIooooXXXXnnnnXXXX((((SSSSmmmm3333yyyyTTTTXXXXsssseeee))))ttttxxxxeeeettttmmmmFFFFiiiiVVVVeeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn - A TextField function that
  10.           accesses the position of the primary selection
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/TextF.h>
  14.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ****lllleeeefffftttt,
  17.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ****rrrriiiigggghhhhtttt);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn accesses the left and right
  24.           position of the primary selection in the text buffer of the
  25.           TextField widget.
  26.  
  27.           _w_i_d_g_e_t    Specifies the TextField widget ID
  28.  
  29.           _l_e_f_t      Specifies the pointer in which the position of the
  30.                     left boundary of the primary selection is
  31.                     returned. This is an integer number of characters
  32.                     from the beginning of the buffer. The first
  33.                     character position is 0 (zero).
  34.  
  35.           _r_i_g_h_t     Specifies the pointer in which the position of the
  36.                     right boundary of the primary selection is
  37.                     returned. This is an integer number of characters
  38.                     from the beginning of the buffer. The first
  39.                     character position is 0 (zero).
  40.  
  41.           For a complete definition of TextField and its associated
  42.           resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  43.  
  44.      RRRREEEETTTTUUUURRRRNNNN
  45.           This function returns True if the widget owns the primary
  46.           selection; otherwise, it returns False.
  47.  
  48.      RRRREEEELLLLAAAATTTTEEEEDDDD
  49.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.